<h1>Listing basetables</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Content</th>
  </tr>

<% @basetables.each do |basetables| %>
  <tr>
    <td><%=h basetables.name %></td>
    <td><%=h basetables.content %></td>
    <td><%= link_to 'Show', basetables %></td>
    <td><%= link_to 'Edit', edit_basetables_path(basetables) %></td>
    <td><%= link_to 'Destroy', basetables, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New basetables', new_basetables_path %>